﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Revis.VClinicNet.App.Internal.Dto
{
    public class PersonalDataDto
    {
        public string FirstName { get; set; }
        public string Surname { get; set; }
        public string Pesel { get; set; }
        public AddressDto Address { get; set; }
    }

    public class AddressDto
    {
        public string StreetName { get; set; }
        public string HomeNumber { get; set; }
        public string PostalCode { get; set; }
        public string City { get; set; }
        public string Municipality { get; set; }
        public string Telephone { get; set; }
    }

    public class PatientDto
    {
        public long Id { get; set; }
        public PersonalDataDto Personal { get; set; }
        public DoctorInfoDto Doctor { get; set; } 
    }

    public class PatientCardDto
    {
        public long Id { get; set; }
        public string Name { get; set; }
        public IList<EntryInfoDto> Entries { get; set; }
    }

    public class PatientCreateDto
    {
        public long DoctorId { get; set; }
        public PersonalDataDto Personal { get; set; }
    }

    public class PatientEditDto
    {
        public long Id { get; set; }
        public long DoctorId { get; set; }
        public PersonalDataDto Personal { get; set; }
    }

    public class PatientInfoDto
    {
        public long Id { get; set; }
        public string Name { get; set; }
        public string Pesel { get; set; }
        public string Address { get; set; }
    }

    public class PatientListDto
    {
        public IList<PatientInfoDto> Patients { get; set; }
    }
}
